package com.consul.consul_producer.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiaojf
 */
@RestController
public class ProducerController {

    @GetMapping("producer-test")
    public String producer() {
        return "服務注册,这是producer生产的数据";
    }
}
